package com.example.test.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.io.Serializable;

/**
 * 场管商品表(VenueGoods)实体类
 *
 * @author makejava
 * @since 2023-09-13 11:28:55
 */
public class VenueGoods implements Serializable {
    private static final long serialVersionUID = -93350374062054756L;
    /**
     * 自增id
     */
    private Integer id;
    /**
     * 平台id
     */
    //给属性换别名(可以解决mybatis返回的实体类字段名与表中不一致的问题，也可以解决前端通过post发送json格式数据字段名和实体类不一致的问题)
    @JsonProperty("platform_id")
    private Integer platformId;
    /**
     * 商品名称
     */
    private String name;
    /**
     * 商品编号
     */
    @JsonProperty("goods_num")
    private String goodsNum;
    /**
     * 发行方id
     */
    @JsonProperty("issue_id")
    private Integer issueId;
    /**
     * 监制方id
     */
    @JsonProperty("super_id")
    private String superId;
    /**
     * 创作者名称
     */
    @JsonProperty("author_id")
    private Integer authorId;
    /**
     * 创作者图像
     */
    @JsonProperty("author_pic")
    private String authorPic;
    /**
     * 商品类型id
     */
    @JsonProperty("shop_type_id")
    private Integer shopTypeId;
    /**
     * 发行形式id
     */
    @JsonProperty("issue_type_id")
    private Integer issueTypeId;
    /**
     * 封面图
     */
    @JsonProperty("cover_pic")
    private String coverPic;
    /**
     * 缩略图
     */
    @JsonProperty("abridge_pic")
    private String abridgePic;
    /**
     * 详情描述
     */
    private String detail;
    /**
     * 作品故事
     */
    private String intro;
    /**
     * 发行价(单位:分)
     */
    private Integer price;
    /**
     * 发行量
     */
    @JsonProperty("issue_num")
    private Integer issueNum;
    /**
     * 开始时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("start_time")
    private Date startTime;
    /**
     * 结束时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("end_time")
    private Date endTime;
    /**
     * 排序号:从大到小
     */
    private Integer sorts;
    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("created_time")
    private Date createdTime;
    /**
     * 推荐显示:1显示,2不显示
     */
    @JsonProperty("is_show")
    private Integer isShow;
    /**
     * 关联商户id
     */
    @JsonProperty("business_id")
    private Integer businessId;
    /**
     * 最近编辑用户
     */
    @JsonProperty("edited_user")
    private String editedUser;
    /**
     * 最近编辑时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("updated_time")
    private Date updatedTime;
    /**
     * 创作者名称
     */
    @JsonProperty("author_name")
    private String authorName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Integer platformId) {
        this.platformId = platformId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Integer getIssueId() {
        return issueId;
    }

    public void setIssueId(Integer issueId) {
        this.issueId = issueId;
    }

    public String getSuperId() {
        return superId;
    }

    public void setSuperId(String superId) {
        this.superId = superId;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public String getAuthorPic() {
        return authorPic;
    }

    public void setAuthorPic(String authorPic) {
        this.authorPic = authorPic;
    }

    public Integer getShopTypeId() {
        return shopTypeId;
    }

    public void setShopTypeId(Integer shopTypeId) {
        this.shopTypeId = shopTypeId;
    }

    public Integer getIssueTypeId() {
        return issueTypeId;
    }

    public void setIssueTypeId(Integer issueTypeId) {
        this.issueTypeId = issueTypeId;
    }

    public String getCoverPic() {
        return coverPic;
    }

    public void setCoverPic(String coverPic) {
        this.coverPic = coverPic;
    }

    public String getAbridgePic() {
        return abridgePic;
    }

    public void setAbridgePic(String abridgePic) {
        this.abridgePic = abridgePic;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getIssueNum() {
        return issueNum;
    }

    public void setIssueNum(Integer issueNum) {
        this.issueNum = issueNum;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getSorts() {
        return sorts;
    }

    public void setSorts(Integer sorts) {
        this.sorts = sorts;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public String getEditedUser() {
        return editedUser;
    }

    public void setEditedUser(String editedUser) {
        this.editedUser = editedUser;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

}

